﻿using System;
using Project_Maverick.Controller.Input;
using Project_Maverick.GameRoot;
using Project_Maverick.Screen.Common;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Project_Maverick.Screen.Lobby.GameLobby
{
    public class GameLobby : DefaultMenu
    {
        public GameLobby() 
            : base(Background.Gray(), "GAME LOBBY", new TE_Vector2(42, 15))
        {
        }

        public override void ReceiveLocalInputPressed(PlayerInputCommand playerInputCommand)
        {
            switch (playerInputCommand.Action)
            {
                case PlayerInput.Action.Accept:
                    ChangeScreen(ProjectMaverick.Screen.WaitingJoin, true);
                    break;
                case PlayerInput.Action.Cancel:
                    break;
                case PlayerInput.Action.Up:
                    break;
                case PlayerInput.Action.Down:
                    break;
                case PlayerInput.Action.Left:
                    break;
                case PlayerInput.Action.Right:
                    break;
            }
        }

        public override void ReceiveLocalInputReleased(PlayerInputCommand playerInputCommand)
        {
        }
    }
}